/**
 * 
 */
package org.insia.smartposse.beans;


/**
 * @author cchalloy
 *
 */
public class Application {

	private Long id;
	private JobProject jobProjectId;
	private Users toId;
	private Users freelanceId;
	private String message;
	private Double salary;
	private Integer accept;
	
	public Application(Long id, JobProject job_project_id, Users to_id, Users freelance_id, String message, 
			Double salary, Integer accept) {
		this.id = id;
		this.jobProjectId = job_project_id;
		this.toId = to_id;
		this.freelanceId = freelance_id;
		this.message = message;
		this.salary = salary;
		this.accept = accept;
	}

	/**
	 * @return the accept
	 */
	public Integer getAccept() {
		return accept;
	}

	/**
	 * @param accept the accept to set
	 */
	public void setAccept(Integer accept) {
		this.accept = accept;
	}

	/**
	 * @return the freelance_id
	 */
	public Users getFreelanceId() {
		return freelanceId;
	}

	/**
	 * @param freelance_id the freelance_id to set
	 */
	public void setFreelanceId(Users freelance_id) {
		this.freelanceId = freelance_id;
	}

	/**
	 * @return the id
	 */
	public Long getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * @return the job_project_id
	 */
	public JobProject getJobProjectId() {
		return jobProjectId;
	}

	/**
	 * @param job_project_id the job_project_id to set
	 */
	public void setJobProjectId(JobProject job_project_id) {
		this.jobProjectId = job_project_id;
	}

	/**
	 * @return the message
	 */
	public String getMessage() {
		return message;
	}

	/**
	 * @param message the message to set
	 */
	public void setMessage(String message) {
		this.message = message;
	}

	/**
	 * @return the salary
	 */
	public Double getSalary() {
		return salary;
	}

	/**
	 * @param salary the salary to set
	 */
	public void setSalary(Double salary) {
		this.salary = salary;
	}

	/**
	 * @return the to_id
	 */
	public Users getToId() {
		return toId;
	}

	/**
	 * @param to_id the to_id to set
	 */
	public void setToId(Users to_id) {
		this.toId = to_id;
	}
	
	
	
}
